package com.hjrpc.babyyamall.member;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

@EnableRedisHttpSession
@SpringBootApplication(scanBasePackages = {"com.hjrpc.common.config", "com.hjrpc.babyyamall.member"})
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.hjrpc.babyyamall.member.feign")
@MapperScan("com.hjrpc.babyyamall.member.dao")
public class BabyyamallMemberApplication {

    public static void main(String[] args) {
        SpringApplication.run(BabyyamallMemberApplication.class, args);
    }

}
